<?php
	session_start();
	include "include.php";
	mysql_connect(DB_HOST,DB_USER,DB_PASSWORD) or die(mysql_error());
	mysql_select_db(DB_NAME);
?>
<html>
<head>
<title><?php echo $SITE_TITLE ?> - Logout</title>
<link rel="stylesheet" type="text/css" href="main.css" />
</head>
<div id="container">
<div id="top">
<?php include "top.php" ?>
</div>
<div id="leftnav">
</div>
<div id="content">
<?php
	session_destroy();
	echo "Logout Successful.<br><a href=\"" . $SITE_URL . "\">Return to homepage</a>";
?>
</div>
<div id="footer">
<?php include "footer.php" ?>
</div>
</div>
</body>
</html>